package com.yxw.live_vod_boot.dto.follow;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ToString
public class FollowDeleteDTO implements Serializable {

    @ApiModelProperty(value = "关注者ID", required = true)
    @NotNull(message = "关注者ID不能为空!")
    private Long followerId;

    @ApiModelProperty(value = "关注者类型 0=店铺 1=用户 2=其他", required = true)
    @NotNull(message = "关注者类型不能为空!")
    private Integer followerType;

    @ApiModelProperty(value = "关注者的店铺ID（关注者为店铺时必传）")
    private Long followerShopId;

    @ApiModelProperty(value = "被取关者ID", required = true)
    @NotNull(message = "被取关者ID不能为空!")
    private Long followeeId;

    @ApiModelProperty(value = "被取关者ID类型 0=店铺 1=用户 2=其他", required = true)
    @NotNull(message = "被取关者类型不能为空!")
    private Integer followeeType;

    @ApiModelProperty(value = "被关注的店铺ID（被取关者为店铺时必传）")
    private Long followeeShopId;
}
